package com.hello.system.service;

import java.util.List;
import com.hello.system.domain.PointsPackage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 积分充值套餐Service接口
 * 
 * @author hello
 * @date 2025-10-29
 */
public interface IPointsPackageService extends IService<PointsPackage>
{
    /**
     * 查询积分充值套餐
     * 
     * @param packageId 积分充值套餐主键
     * @return 积分充值套餐
     */
    public PointsPackage selectPointsPackageByPackageId(Long packageId);

    /**
     * 查询积分充值套餐列表
     * 
     * @param pointsPackage 积分充值套餐
     * @return 积分充值套餐集合
     */
    public List<PointsPackage> selectPointsPackageList(PointsPackage pointsPackage);

    /**
     * 新增积分充值套餐
     * 
     * @param pointsPackage 积分充值套餐
     * @return 结果
     */
    public int insertPointsPackage(PointsPackage pointsPackage);

    /**
     * 修改积分充值套餐
     * 
     * @param pointsPackage 积分充值套餐
     * @return 结果
     */
    public int updatePointsPackage(PointsPackage pointsPackage);

    /**
     * 批量删除积分充值套餐
     * 
     * @param packageIds 需要删除的积分充值套餐主键集合
     * @return 结果
     */
    public int deletePointsPackageByPackageIds(Long[] packageIds);

    /**
     * 删除积分充值套餐信息
     * 
     * @param packageId 积分充值套餐主键
     * @return 结果
     */
    public int deletePointsPackageByPackageId(Long packageId);
}
